import React from "react";

// react类组件
class Component extends React.Component {

  // 渲染ui结构
  render() {
    return (
      <>
        <div>这是React类组件</div>
      </>
    )
  }
}

function App() {
  return (
    <div className="App">
      <Component></Component>
    </div>
  );
}

export default App;
